package com.magicode.cms.dao.impl;

import org.springframework.stereotype.Service;

import com.magicode.cms.dao.ITvFilmPersonDao;
import com.magicode.cms.entiy.base.TvFilmPerson;

@Service("daotvFilmPerson")
public class TvFilmPersonDaoImpl extends BaseDaoImpl<TvFilmPerson> implements ITvFilmPersonDao {

	@Override
	public void deletePic(String picId,String personId) {
		String sql = "DELETE FROM tv_film_person_pic_rela WHERE pic_id = ? and person_id=? ";
		commonDaoService.querySql(sql,picId,personId);
	}

}
